package com.water_work_form.mapper;

import com.water_work_form.entity.BasicPhDilute;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.water_work_form.entity.BasicWater;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

/**
 * <p>
 * 基础表——滴定pH——稀释 Mapper 接口
 * </p>
 *
 * @author xuke
 * @since 2023-08-01
 */
@Mapper
public interface BasicPhDiluteMapper extends BaseMapper<BasicPhDilute> {

    /**
     * 唯一索引查询
     * @return
     */
    @Select("SELECT * FROM basic_ph_dilute WHERE dilute_no = #{diluteNo}")
    BasicPhDilute getOneByName(String diluteNo);
}
